A new type of resonant in x - band is given . the eigenfrequencies and eigenfunctions of tm mode of three four and five - cavity resonant is studied . the self modulation of the working modes which are 2 / 4 mode in three - cavity , 3 / 5 mode in four - cavity , 4 / 6 mode in five - cavity is simulated by pic code magic